define(['app'], function(app) {
	'use strict';

	//实例化方法
	var factory = function(Http) {
		

		//返回信息
		return {
		  goods_detail:function(goods_id,callback){
		  	Http.post({
		  		method:'goods.recommend.detail',
		  		goods_id:goods_id
		  	},function(result){
		  		if(callback)
		  		callback(result.result);
		  	})
		  }
		  
		  
		};
	}

	factory.$inject = ['Http'];
	return app.registerService("Productdetail_recommend", factory);
});